/* Copyright Thanh-Trung Pham, JAIST, 2013 */

package jp.ac.jaist.model;

/**
 *
 * @author Thanh-Trung Pham
 */
public class RMPMarkovState {

    private String m_strStateName;
    private int m_iID;
    private int m_iAbsorbingID;

    /**
     * The constructor.
     * @param stateName a state name.
     * @param id an ID.
     */
    public RMPMarkovState(String stateName) {
        m_strStateName = stateName;
        m_iID = -1;
        m_iAbsorbingID = -1;
    }

    /**
     * Set the state id.
     * @param id the state id.
     */
    public void setID(int id) {
        m_iID = id;
    }

    /**
     * Get the state ID.
     * @return he state ID.
     */
    public int getID() {
        return m_iID;
    }

    /**
     * Get the state name.
     * @return the state name.
     */
    public String getStateName() {
        return m_strStateName;
    }

    /**
     * Get the absorbing ID.
     * @return the absorbing ID.
     */
    public int getAbsorbingID() {
        return m_iAbsorbingID;
    }

    /**
     * Set the absorbing ID.
     * @param absorbingID  the absorbing ID to set.
     */
    public void setAbsorbingID(int absorbingID) {
        m_iAbsorbingID = absorbingID;
    }
}
